<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Delete a book</title>
</head>
<body>
<h1>Welcome to Ebook Shop!</h1>
    {% include 'ebooks/menu.html' %}
    <h2>Delete a book</h2>

    <p>Are you sure you want to delete the book "{{ book.title }}"?</p>
    <form method="POST" action="{% url 'book_delete' book.id %}">
        {% csrf_token %}
        <input type="hidden" name="confirm_delete" value="yes">
        <button type="submit">Delete</button>
        <a href="{% url 'book_detail' book.id %}">Cancel</a>
    </form>
</body>
</html>